package com.ty.service.impl;

import com.ty.mapper.CollectMapper;
import com.ty.pojo.Collect;
import com.ty.service.CollectService;

import org.apache.ibatis.annotations.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CollectServiceImpl implements CollectService {
    @Autowired
    private CollectMapper collectMapper;



    @Override
    public List<Collect> list(Integer userId) {
        return collectMapper.selectList(null) ;
    }


}
